﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains.Detection
{
    /// <summary>
    /// 检疫标准表
    /// </summary>
    public class IPQCData
    {
        /// <summary>
        /// 检疫标准Id
        /// </summary>
        [Key]
        public int IPQCId {  get; set; }
        /// <summary>
        /// 单据Id
        /// </summary>
        public string LiveAnimalsDocument { get; set; } = string.Empty;
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime LiveAnimalsDocumentTIme {  get; set; }= DateTime.Now;
        /// <summary>
        /// 标准名称
        /// </summary>
        public string IPQCName { get; set; } = string.Empty;
        /// <summary>
        /// 检疫类型
        /// </summary>
        public string IPQCType {  get; set; } = string.Empty;
        /// <summary>
        /// 执行标准
        /// </summary>
        public string ExecuteIPQC { get; set; } = string.Empty;
        /// <summary>
        /// 开启状态
        /// </summary>
        public bool IsIPQC { get; set; } = false;
        /// <summary>
        /// 审核状态
        /// </summary>
        public bool IPQCAuditState {  get; set; } = false;
        /// <summary>
        /// 制单人
        /// </summary>
        public string IPQCCreateName {  get; set; } = string.Empty;
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime AuditStateTIme {  get; set; } = DateTime.Now;
        /// <summary>
        /// 检疫项目
        /// </summary>
        public string PRQSName { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleteIPQC {  get; set; } = false;
    }
}
